<h2>Accept Application</h2>

<?php echo $this->partial('user/application-view.phtml', array('application' => $this->application)); ?>

<h3>Give permissions for</h3>

<?php foreach($this->languages as $language): ?>
<input type="checkbox" id="langcb_<?php echo $language->id ?>" name="languages[]" value="<?php echo $language->id ?>" />
<label for="langcb_<?php echo $language->id ?>" class="inline" style="margin-right: 1em;"><?php echo $language->name ?></label>
<?php endforeach; ?>

<label for="message">Message to translator</label>
<small>Additional message to translator send by e-mail. The list with languages
he has permissions for is sent to him in any case.</small>
<textarea id="message" name="message">Welcome to our translation team!</textarea>

<div style="text-align: center; margin-top: 1em;">
	<input type="submit" name="accept" value="Save" class="fancybutton emphasized" />
	<input type="submit" name="cancel" value="Cancel" class="fancybutton" />
	
	<p><small>(Cancelling will take you back to the overview page, the application is left undecided in this case.)</small></p>
</div>

</form>